package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmProduceInstockDTO;
import com.xinsoft.entity.dto.ScmProduceReturnDTO;
import com.xinsoft.entity.dto.ScmProduceReturnParam;
import com.xinsoft.entity.po.ScmProduceReturn;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmProduceReturnPageVo;
import com.xinsoft.entity.vo.ScmProduceReturnVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_produce_return(生产退料)】的数据库操作Service
* @createDate 2023-08-14 11:30:38
*/
public interface ScmProduceReturnService extends IService<ScmProduceReturn> {

    IPage<ScmProduceReturnPageVo> findPageListByParam(ScmProduceReturnParam param);

    List<ScmProduceReturnPageVo> findListByParam(ScmProduceReturnParam param);

    Integer tempSave(ScmProduceReturnDTO dto);

    ScmProduceReturnVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);

    void saveAudit(ScmProduceReturnDTO dto);
}
